package com.atguigu.edu2021.mock.bean;

import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 做卷记录 做卷记录
 * </p>
 *
 * @author zhangchen
 * @since 2021-09-20
 */
@Data
public class TestExamQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

      private  Long examId;

    /**
     * 试卷id
     */
    private Long paperId;

    /**
     * 问题id
     */
    private Long questionId;

    /**
     * 课程id
     */
    private Long userId;

    /**
     * 答案
     */
    private String answer;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private String deleted;


    private BigDecimal score;

    private String isCorrect;


    @Override
    public String toString() {
        return "TestExamQuestion{" +
        "id=" + id +
        ", paperId=" + paperId +
        ", questionId=" + questionId +
        ", userId=" + userId +
        ", answer=" + answer +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", deleted=" + deleted +
        "}";
    }
}
